package org;

/**
 * @Author: xwg
 * @CreateDate: 2021/11/19
 */


public class Person {
    //    两个属性
    private String name;
    private Integer age;

    //    一个方法
    public void show() {
        System.out.println("** name: " + name + " ** age: " + age);
    }

    //   构造方法
    public Person(String name, Integer age) {
        this.name = name;
        this.age = age;
    }
}
